package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsHomeBrand;

import java.util.List;

/**
 * @author xyiaao
 * @description 针对表【sms_home_brand(首页推荐品牌表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface SmsHomeBrandApi extends IService<SmsHomeBrand> {

    Page<SmsHomeBrand> listPage(Integer pageNum, Integer pageSize, String brandName, Integer recommendStatus);

    void updateBYIds(List<Long> ids, SmsHomeBrand smsHomeBrand);

    void updateSort(Integer id, SmsHomeBrand homeBrand);

    List<SmsHomeBrand> findByIds(List<Long> ids, SmsHomeBrand smsHomeBrand);

}
